import request from "@/utils/request";
import { ref } from "vue";



// 获取在线人数
export function reqOnlineNum() {
  return request({
    url: '/monitor/online/onlineNum',
    method: 'get',
  })
}

// 用户访问量
export function reqUserVisit() {
  return request({
    url: '/monitor/logininfor/userVisit',
    method: 'get',
  })
}

// 通知消息
export function reqSystemMessage(data) {
  return request({
    url: '/system/notice/systemMessage',
    method: 'get',
  })
}
